package GUI;

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.ImageIcon;

import java.awt.Button;
import java.awt.Font;
import javax.swing.JButton;
import com.jgoodies.forms.factories.DefaultComponentFactory;

public class Home extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JButton btnNewButton;
	private JButton btnNewButton_1;
	
	public Home() {
		setLayout(null);
		btnNewButton = new JButton();
		JLabel lblNewLabel = new JLabel("Wellcome To ICM");
		lblNewLabel.setFont(new Font("David", Font.BOLD | Font.ITALIC, 15));
		lblNewLabel.setIcon(new ImageIcon(Home.class.getResource("/Picture/imagesCAGA7H47.jpg")));
		lblNewLabel.setBounds(10, 11, 461, 200);
		add(lblNewLabel);
		
		btnNewButton_1 = new JButton("Press To Enter");
		btnNewButton_1.setFont(new Font("David", Font.ITALIC, 13));
		btnNewButton_1.setIcon(new ImageIcon(Home.class.getResource("/Picture/1-Normal-Home-icon.png")));
		btnNewButton_1.setBounds(142, 307, 189, 74);
		add(btnNewButton_1);
	}

	public JButton getBtnNewButton() {
		return btnNewButton_1;
	}

	public void setBtnNewButton(JButton btnNewButton) {
		this.btnNewButton = btnNewButton;
	}
}
